<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<h2>회원 정보</h2>
<table border='1' cellspacing="0" width="500px" cellpadding="5px"> 
	<tr>
		<th width="100px" align="left">ID</th>
		<td>${sessionScope.login_info.id }</td>
	</tr>
	<tr>
		<th  align="left">패스워드</th>
		<td>${sessionScope.login_info.password}</td>
	</tr>
	<tr>
		<th align="left">이름</th>
		<td>${sessionScope.login_info.name}</td>
	</tr>
	<tr>
		<th align="left">Email</th>
		<td>${sessionScope.login_info.email}</td>
	</tr>
	<tr>
		<th align="left">가입일</th>
		<td> 
			${sessionScope.login_info.joinDate.year + 1900}-${sessionScope.login_info.joinDate.month+1}-${sessionScope.login_info.joinDate.date}
			<br><fmt:formatDate value="${sessionScope.login_info.joinDate}"
								 type="DATE"
								 pattern="yyyy.MM.dd"/>
		</td>	
	</tr>
</table>












